package com.dayuan.service;

import java.util.List;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.dayuan.bean.CartInfo;
import com.dayuan.dao.CartInfoMapper;

@Service
public class CartInfoService {
	private static Logger logger = LoggerFactory.getLogger(CartInfoService.class);

	@Resource
	private CartInfoMapper cartInfoMapper;

	public List<CartInfo> selectByCartId(Long cartId) {
		return cartInfoMapper.selectByCartId(cartId);
	}

}
